#include "EffectSelectionWidget.h"

EffectSelectionWidget::EffectSelectionWidget(QWidget* parent)
{
	m_layout = new QHBoxLayout;

	this->setLayout(m_layout);
}

EffectSelectionWidget::~EffectSelectionWidget()
{

}

void EffectSelectionWidget::addEffect(const QString& name, const QImage& image)
{
	QLabel* label = new QLabel;
	label->setPixmap(QPixmap::fromImage(image));

	m_layout->addWidget(label);
}
